<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="/login" method="post">
		用户名：<input type="text" name="username" /><br/>
		密码： <input type="text" name="password"> <br/>
		<input type="checkbox" name="rememberMe" />记住我<br/>
		<input type="submit" value="提交" > 
		<a href="/unlockAccount">解锁admin用户</a></button>
	</form>
		<h1>${msg!}</h1>
	
</body>
<script type="text/javascript" th:src="@{/js/jquery.js}"></script>
<script type="text/javascript">
    function kickout(){
        var href=location.href;
        if(href.indexOf("kickout")>0){
            alert("您的账号在另一台设备上登录,如非本人操作，请立即修改密码！");
        }
    }
    window.onload=kickout();
</script>
</html>